+2006-07-17 Michael Natterer <mitch@imendio.com>
+
+ * gtk/gtkcalendar.c (calendar_timer): use 5 * gtk-timeout-repeat,
+ just as many other widgets. Makes the calendar arrow buttons
+ usable for quick month/year skipping (#142582).
+
2006-07-17 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c:
+2006-07-17 Michael Natterer <mitch@imendio.com>
+
+ * gtk/gtkcalendar.c (calendar_timer): use 5 * gtk-timeout-repeat,
+ just as many other widgets. Makes the calendar arrow buttons
+ usable for quick month/year skipping (#142582).
+
2006-07-17 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c:
#define DAY_XSEP 0 /* not really good for small calendar */
#define DAY_YSEP 0 /* not really good for small calendar */
+#define SCROLL_DELAY_FACTOR 5
+
/* Color usage */
#define HEADER_FG_COLOR(widget) (& (widget)->style->fg[GTK_WIDGET_STATE (widget)])
#define HEADER_BG_COLOR(widget) (& (widget)->style->bg[GTK_WIDGET_STATE (widget)])
g_object_get (settings, "gtk-timeout-repeat", &timeout, NULL);
priv->need_timer = FALSE;
- priv->timer = g_timeout_add (timeout,
+ priv->timer = g_timeout_add (timeout * SCROLL_DELAY_FACTOR,
(GSourceFunc) calendar_timer,
(gpointer) calendar);
}